/**
 *当前视图高度
 */
#define __KLVIEWHEIGHT__  self.frame.size.height
/**
 *当前视图宽度
 */
#define __KLVIEWWIDTH__ self.frame.size.width
/**
 *当前屏幕宽度
 */
#define __KLSCREENWIDTH__ [UIScreen mainScreen].bounds.size.width
/**
 *当前屏幕高度
 */
#define __KLSCREENHEIGHT__ [UIScreen mainScreen].bounds.size.height
/**
 *重用ID
 */
#define __KLCEllID__ @"cellID"

#define __KLCEllSID__ @"cell_SID"
/**
 *弱引用self
 */
#define __kWeakSelf__ __weak typeof(self) weakSelf = self;
/**
 * 颜色
 */
#define Color(R,G,B,P) [UIColor colorWithRed:R/255.0 green:G/255.0 blue:B/255.0 alpha:P]
#define CGColor(R,G,B,P) Color(R,G,B,P).CGColor
/**
 * 主题色
 */
#define ThemeColor Color(241, 81, 83, 1)
/*
 *window
 */
#define appWindow [UIApplication sharedApplication].keyWindow
/*
 *屏幕尺寸
 */
#define __KScreenSize__ [UIScreen mainScreen].bounds.size
/**
 *statusBar高度
 */
#define __KLSTATUSBARHEIGHT__  [[UIApplication sharedApplication] statusBarFrame].size.height

//尺寸转换
#define __kNFont(fontSize)    [UIFont systemFontOfSize:__KNewSize(fontSize)]

#define __KNewSize(pxSize) [[DevicePlatform shareDevicePlatform] translationSize:pxSize]

#define __kNewWidth(pxSize) [[DevicePlatform shareDevicePlatform] translatWidth:pxSize]

#define __kNewHeight(pxSize) [[DevicePlatform shareDevicePlatform] translatHeight:pxSize]

#define __kNewRealHeight(pxSize) [[[DevicePlatform shareDevicePlatform] translatRealHeight:pxSize]
